package com.dinggao.crossgo.module.user.login;

/**
 * created by mapingan on 2018/8/3.
 */
public class LoginResultBean {


    /**
     * code : 0
     * message : success
     * data : {"id":8,"accessToken":"f02abd48-129e-4f11-aabd-48129edf1121","deviceId":161,"userId":100,"tokenType":null,"scope":null,"state":null,"disable":0,"expiresTime":1535791396830,"createTime":null,"updateTime":null}
     */

    private int code;
    private String message;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 8
         * accessToken : f02abd48-129e-4f11-aabd-48129edf1121
         * deviceId : 161
         * userId : 100
         * tokenType : null
         * scope : null
         * state : null
         * disable : 0
         * expiresTime : 1535791396830
         * createTime : null
         * updateTime : null
         */

        private int id;
        private String accessToken;
        private int deviceId;
        private int userId;
        private Object tokenType;
        private Object scope;
        private Object state;
        private int disable;
        private long expiresTime;
        private Object createTime;
        private Object updateTime;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getAccessToken() {
            return accessToken;
        }

        public void setAccessToken(String accessToken) {
            this.accessToken = accessToken;
        }

        public int getDeviceId() {
            return deviceId;
        }

        public void setDeviceId(int deviceId) {
            this.deviceId = deviceId;
        }

        public int getUserId() {
            return userId;
        }

        public void setUserId(int userId) {
            this.userId = userId;
        }

        public Object getTokenType() {
            return tokenType;
        }

        public void setTokenType(Object tokenType) {
            this.tokenType = tokenType;
        }

        public Object getScope() {
            return scope;
        }

        public void setScope(Object scope) {
            this.scope = scope;
        }

        public Object getState() {
            return state;
        }

        public void setState(Object state) {
            this.state = state;
        }

        public int getDisable() {
            return disable;
        }

        public void setDisable(int disable) {
            this.disable = disable;
        }

        public long getExpiresTime() {
            return expiresTime;
        }

        public void setExpiresTime(long expiresTime) {
            this.expiresTime = expiresTime;
        }

        public Object getCreateTime() {
            return createTime;
        }

        public void setCreateTime(Object createTime) {
            this.createTime = createTime;
        }

        public Object getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(Object updateTime) {
            this.updateTime = updateTime;
        }
    }
}
